package com.hsh.vo.param;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * </p>
 *
 * @author 黄思海
 * @date 2021/6/27 1:16
 */
@Data
@Accessors(chain = true)
public class UserLoginParam {

    @ApiModelProperty(value = "登录账号")
    @NotBlank(message = "登录账号不能为空")
    private String usernameMobile;

    @ApiModelProperty(value = "登录密码")
    @NotBlank(message = "登录密码不能为空")
    private String password;

    @ApiModelProperty(value = "登录类型", allowableValues = "phonePassword,usernamePassword,face,verityCode,email")
    @NotBlank(message = "登录类型不能为空")
    private String loginType;

    @ApiModelProperty(value = "图片文字验证码", hidden = true)
    @JsonIgnore
    private String verifyCode;

}
